using System;
using System.Collections.Generic;

namespace SuCasa.Infrastructure
{
    public class Member
    {
        public Member(){
            Courses = new List<Course>();
        }
        public int MemberTypeId { get; set; }
        public int ParentMemberId { get; set; }
        public string FirstName { get; set; }
        public string MiddleName { get; set; }
        public string LastName { get; set; }
        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string Address3 { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string PostalCode { get; set; }
        public DateTime DateOfBirth { get; set; }
        public string HomePhone { get; set; }
        public string CellPhone { get; set; }
        public string Email { get; set; }
        public DateTime SignUpDate { get; set; }
        public string PersonalHistoryNotes { get; set; }
        public string CurrentSchoolNotes { get; set; }
        public string CountryOfOrigin { get; set; }
        public DateTime UsEntranceDate { get; set; }
        public string JobNotes { get; set; }
        public string AssociatedChurch { get; set; }
        public List<Course> Courses {get;set;}
        
        public int MemberId { get; set; }
        public string Name
        {
            get { return FirstName + " " + MiddleName + " " + LastName; }
        }
        public string Address
        {
            get { return Address1 + " " + Address2 + " " + Address3 + " " + City + "," + State + " " + PostalCode; }
        }

        public List<StudentAssignment> Assignments { get; set; }
    }
}